package com.gkzf.ai.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 项目的启动类
 *
 * @author 国科智飞
 */
@SuppressWarnings("SpringComponentScan") // 忽略 IDEA 无法识别 ${gkzf.info.base-package}
@EnableAsync
@EnableRetry
@EnableScheduling
@SpringBootApplication(scanBasePackages = {"${gkzf.info.base-package}.server", "${gkzf.info.base-package}.module"})
public class GkzfServerApplication {

    public static void main(String[] args) {

        SpringApplication.run(GkzfServerApplication.class, args);
//        new SpringApplicationBuilder(GkzfServerApplication.class)
//                .applicationStartup(new BufferingApplicationStartup(20480))
//                .run(args);

    }

}
